OMAP: Timer: Replace bss variable by gd
Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss
values in the OMAP timer driver.
The usage of bss values in drivers before initialisation of bss is forbidden.
In that special case some data in .rel.dyn gets corrupted.
Signed-off-by: Dirk Behme <[email protected]>
Tested-by: Steve Sakoman <[email protected]>
Tested-by: John Rigby <[email protected]>
Tested-by: Nishanth Menon <[email protected]>
Acked-by: Nishanth Menon <[email protected]>
Tested-by: Heiko Schocher <[email protected]>
Tested-by: Sandeep Paulraj <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>